package com.xzzz.irda.auth.server.pojo;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author wangyf
 * 
 */
@Data
@Accessors(chain = true)
public class LoginEventMetadata implements Serializable {

    private static final long serialVersionUID = -604932632146577068L;

    /**
     * 登录 IP
     */
    private String loginIp;
    /**
     * 客户端类型
     */
    private String userAgent;
    /**
     * 授权方式
     */
    private String grantType;
    /**
     * 用户 ID
     */
    private Long userId;
}
